package com.example.thegreatwall.service.impl;

import com.example.thegreatwall.service.UContactsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.thegreatwall.mapper.UContactsMapper;
import com.example.thegreatwall.entity.UContacts;

@Service
public class UContactsServiceImpl extends ServiceImpl<UContactsMapper, UContacts> implements UContactsService {
    @Autowired
    private UContactsMapper uContactsMapper;

    @Override
    public List<UContacts> selectContactsByUserId(List<Integer> list) {
        return uContactsMapper.selectContactsByUserId(list);
    }

    @Override
    public List<UContacts> selectContactsByIdcard(List<String> list,int userid) {
        return uContactsMapper.selectContactsByIdcard(list,userid);
    }

    @Override
    public List<UContacts> selectContactsByIds(List<Integer> ids) {
        return uContactsMapper.selectContactsByIds(ids);
    }
}
